Skip to content

[release-2.17] vtorc: stop passing --cell - #873

Merged
mattlord merged 1 commit into
release-2.17from
release-2.17-vtorc-no-cell
Nov 5, 2026
Merged

mattlord merged 1 commit into
release-2.17from
release-2.17-vtorc-no-cell

Conversation

@mattlord

@mattlord mattlord commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

The backport of #805 in #821 also brought along a line from main that passes --cell to vtorc. Vitess v23's vtorc has no --cell flag and won't start with it, which breaks the upgrade from operator v2.16 with Vitess v23 to operator v2.17.1:

  • With the Immediate update strategy, the operator upgrade rolls vtorc right away. The new Pod crash-loops, and the rollout stays stuck until the cluster moves to Vitess v24. The old Pod keeps running.
  • With the default External strategy, the same happens when a rollout is released while the cluster is still on Vitess v23.
  • A vtorc Deployment created while the cluster is on Vitess v23, such as one for a new shard, has no old Pod to fall back on, so that shard runs without vtorc.

The flag is optional in Vitess v24: without it, vtorc only logs that it will be required in v25. It belongs on main, which becomes operator v2.18 and pairs with Vitess v25. This restores the file to its v2.17.0 contents.

The backport of #805 in #821 also brought along a line from main that
passes --cell to vtorc. Vitess v23's vtorc has no --cell flag and won't
start with it, which breaks the upgrade from operator v2.16 with Vitess
v23 to operator v2.17.1:

- With the Immediate update strategy, the operator upgrade rolls vtorc
  right away. The new Pod crash-loops, and the rollout stays stuck until
  the cluster moves to Vitess v24. The old Pod keeps running.
- With the default External strategy, the same happens when a rollout
  is released while the cluster is still on Vitess v23.
- A vtorc Deployment created while the cluster is on Vitess v23, such as
  one for a new shard, has no old Pod to fall back on, so that shard runs
  without vtorc.

The flag is optional in Vitess v24: without it, vtorc only logs that it
will be required in v25. It belongs on main, which becomes operator
v2.18 and pairs with Vitess v25. This restores the file to its v2.17.0
contents.

Signed-off-by: Matt Lord <mattalord@gmail.com>
Copilot AI balanced review requested due to automatic review settings November 4, 2026 23:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the change removing the unsupported vtorc --cell flag.

No open issues 🎉

What changed in this PR

Restores Vitess v23 compatibility on release-2.17 by removing the unsupported --cell flag from operator-managed vtorc deployments.

Changes:

  • Stops passing --cell, preventing vtorc startup failures on Vitess v23.
  • Preserves Vitess v24 compatibility, where the flag is optional.
File Description
pkg/​operator/​vtorc/​deployment.go Removes cell from the generated vtorc flags.

Review effort: Balanced

@mattlord
mattlord requested a review from a team November 4, 2026 23:29
@mattlord
mattlord merged commit 05c2b20 into release-2.17 Nov 5, 2026
37 of 40 checks passed
@mattlord
mattlord deleted the release-2.17-vtorc-no-cell branch November 5, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants